#ifndef MYITEM_H
#define MYITEM_H
#include <QObject>
#include <QGraphicsPixmapItem>


class MyItem : public QObject, public QGraphicsPixmapItem
{
     Q_PROPERTY(qreal rotation READ rotation WRITE setRotation)
     Q_OBJECT
public:
    MyItem(QObject* parent, const QPixmap& pixmap);
};

#endif // MYITEM_H
